package com.xizi.forum.dao;

import com.xizi.forum.model.BoardInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface BoardInfoMapper {
    int insert(BoardInfo record);

    int insertSelective(BoardInfo record);

    BoardInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BoardInfo record);

    int updateByPrimaryKey(BoardInfo record);

    List<BoardInfo> selectListNum(int num);
}